* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

input,
button {
    border: 0;
    outline: none;
}

i {
    font-style: normal;
}

.clearfix:after,
.clearfix:before {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.l {
    float: left;
}

.r {
    float: right;
}


.w {
    width: 1000px;
    margin: 0 auto;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?nqnsxz');
    src: url('../fonts/icomoon.eot?nqnsxz#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?nqnsxz') format('truetype'),
        url('../fonts/icomoon.woff?nqnsxz)') format('woff'),
        url('../fonts/icomoon.svg?nqnsxz#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

body {
    height: 2000px;
    background-color: #f6f6f6;

    .html_header {
        width: 100%;
        height: 52px;

        .header {
            position: fixed;
            top: 0;
            width: 100%;
            height: 52px;
            overflow: hidden;
            background-color: #fff;
            box-shadow: 0 1px 3px rgb(18 18 18 / 10%);
            z-index: 2;

            .page_header {
                height: 52px;
                width: 1202px;
                position: relative;
                padding-left: 16px;
                padding-right: 30px;
            }

            .page_header1 {
                height: 52px;
                padding: 0 20px;

                .page_header_title {
                    width: 654px;
                    cursor: pointer;

                    h1 {
                        line-height: 52px;
                        font-size: 22px;
                        color: #121212;
                    }
                }

                .page_header_button {
                    height: 52px;
                    line-height: 52px;

                    button {
                        height: 34px;
                        margin: 0 8px;
                        line-height: 34px;
                        text-align: center;
                        font-size: 14px;
                        padding: 0 16px;
                        border-radius: 3px;

                        &:nth-of-type(1) {
                            width: 96px;
                            border: 1px solid #06f;
                            color: #fff;
                            background-color: #06f;
                        }

                        &:nth-of-type(2) {
                            border: 1px solid #06f;
                            color: #06f;
                            background-color: #fff;

                            &::before {
                                font-family: 'icomoon';
                                content: '\e90c';
                                margin-right: 4px;
                            }

                            &:hover {
                                background-color: rgba(0, 102, 255, .06);
                            }
                        }
                    }
                }

            }
        }
    }

    .question_header {
        width: 100%;
        padding-top: 16px;
        background-color: #fff;

        .question_header_left {
            width: 694px;

            .tags {
                ul {
                    width: 100%;

                    li {
                        position: relative;
                        display: inline-block;
                        height: 30px;
                        padding: 0 12px;
                        line-height: 30px;
                        text-align: center;
                        border-radius: 15px;
                        font-size: 14px;
                        color: #06f;
                        background-color: rgba(0, 102, 255, .1);
                        cursor: pointer;

                        &:hover {
                            background-color: rgba(0, 102, 255, .15);
                        }

                        .tags_contain {
                            display: none;
                            position: absolute;
                            top: 55px;
                            left: 10px;
                            width: 400px;
                            height: 275px;
                            background-color: #fff;
                            padding: 0 16px;
                            text-align: left;
                            color: #121212;
                            box-shadow: 0 0 5px 1px #8590a6;
                            z-index: 1;

                            .tags_contain_title {
                                width: 100%;
                                height: 60px;
                                padding-left: 90px;
                                line-height: 60px;
                                font-size: 18px;
                                border-bottom: 1px solid #f6f6f6;
                            }

                            .tags_contain_content {
                                padding: 10px 0;
                                font-size: 14px;
                                line-height: 20px;
                                border-bottom: 1px solid #f6f6f6;
                            }

                            .tags_contain_items {
                                display: flex;
                                height: 65px;

                                div {
                                    flex: 1;
                                    display: flex;
                                    flex-direction: column;
                                    text-align: center;
                                    line-height: 32.5px;

                                    span {
                                        flex: 1;

                                        &:nth-child(1) {
                                            font-size: 14px;
                                            color: #8590a6;
                                        }

                                        &:nth-child(2) {
                                            font-weight: 700;
                                            font-size: 18px;
                                            color: #121212;
                                        }
                                    }
                                }
                            }

                            .tags_contain_focus {
                                width: 100%;
                                padding: 14px 0;

                                .focus_topic {
                                    height: 32px;
                                    width: 140px;
                                    margin: 0 auto;
                                    border: 1px solid #06f;
                                    border-radius: 3px;
                                    line-height: 32px;
                                    text-align: center;
                                    background-color: #06f;
                                    color: #fff;
                                    font-size: 14px;
                                }
                            }


                            .tags_contain_photo {
                                position: absolute;
                                top: -16px;
                                left: 16px;
                                width: 68px;
                                height: 68px;

                                img {
                                    width: 100%;
                                }
                            }
                        }
                    }
                }
            }

            .title {
                h1 {
                    padding: 12px 0 4px;
                    font-size: 22px;
                }
            }

            .questioner_answer {
                p {
                    font-size: 15px;
                    color: #121212;
                }

                span {
                    font-size: 14px;
                    color: #8590a6;
                    cursor: pointer;
                }
            }
        }

        .question_header_right {
            display: flex;

            div {
                display: flex;
                width: 100px;
                flex-direction: column;
                padding: 0 8px;
                height: 50px;

                span {
                    text-align: center;

                    &:nth-child(1) {
                        height: 22px;
                        line-height: 22px;
                        font-size: 14px;
                        color: #8590a6;
                    }

                    &:nth-child(2) {
                        height: 28px;
                        line-height: 28px;
                        font-size: 18px;
                        font-weight: 700;
                        color: #121212;
                    }
                }
            }

            .question_header_focus {
                border-right: 1px solid #ebebeb;
                cursor: pointer;

                &:hover span {
                    color: rgb(23, 81, 153);
                }
            }
        }
    }

    .question_header_footer {
        width: 100%;
        background-color: #fff;

        ul {
            padding: 13px 0;

            li {
                float: left;
                height: 34px;
                margin: 0 8px;
                line-height: 34px;
                text-align: center;
                font-size: 14px;
                cursor: pointer;

                &:nth-child(1) {
                    width: 96px;
                    padding: 0 16px;
                    border: 1px solid #06f;
                    border-radius: 3px;
                    color: #fff;
                    background-color: #06f;
                }

                &:nth-child(2) {
                    padding: 0 16px;
                    border: 1px solid #06f;
                    border-radius: 3px;
                    color: #06f;

                    &::before {
                        font-family: 'icomoon';
                        content: '\e90c';
                        margin-right: 4px;
                    }

                    &:hover {
                        background-color: rgba(0, 102, 255, .06);
                    }
                }

                &:nth-child(3) {
                    padding: 0 16px;
                    border-radius: 3px;
                    border: 1px solid #8590a6;
                    color: #8590a6;

                    &::before {
                        font-family: 'icomoon';
                        content: '\e910';
                        margin-right: 4px;
                    }

                    &:hover {
                        background-color: rgba(133, 144, 166, .06);
                    }
                }

                &:nth-child(4) {
                    color: #8590a6;

                    &::before {
                        font-family: 'icomoon';
                        content: '\e90e';
                        margin-right: 4px;
                    }

                    &:hover {
                        color: #76839b;
                    }
                }

                &:nth-child(5) {
                    color: #8590a6;

                    &::before {
                        font-family: 'icomoon';
                        content: '\e96b';
                        margin-right: 4px;
                    }

                    &:hover {
                        color: #76839b;
                    }
                }


                &:nth-child(7) {
                    position: relative;
                    font-weight: 700;
                    color: #8590a6;
                    outline: none;

                    .more_links {
                        display: none;
                        position: absolute;
                        top: 40px;
                        left: -50px;
                        z-index: 1;
                        width: 134px;
                        font-weight: 400;
                        padding-top: 5px;
                        background-color: #fff;
                        box-shadow: 0 0 5px 1px #ebebeb;
                        text-align: left;
                        font-size: 14px;

                        div {
                            padding: 0 20px;
                            height: 40px;

                            &:hover {
                                background-color: #f6f6f6;
                            }
                        }
                    }
                }

                &:nth-child(8) {
                    display: none;
                    color: #8590a6;
                }
            }

            .share {
                position: relative;
                color: #8590a6;
                outline: none;

                &::before {
                    font-family: 'icomoon';
                    content: '\f1d8';
                    margin-right: 4px;
                }

                &:hover {
                    color: #76839b;
                }

                .share_links {
                    display: none;
                    position: absolute;
                    top: 40px;
                    left: -35px;
                    width: 134px;
                    padding-top: 5px;
                    background-color: #fff;
                    box-shadow: 0 0 5px 1px #ebebeb;
                    text-align: left;
                    z-index: 2;

                    div {
                        padding: 0 20px;
                        height: 40px;
                        font-family: 'icomoon';

                        span {
                            margin-right: 5px;
                        }

                        &:nth-child(1),
                        &:nth-child(2) {
                            &:hover {
                                background-color: #f6f6f6;
                            }
                        }

                        &:nth-child(4) {
                            height: 110px;
                            padding-bottom: 16px;

                            img {
                                width: 94px;
                                height: 94px;
                                padding: 0;
                            }
                        }
                    }
                }
            }
        }
    }

    .main {
        .contain {
            width: 694px;
            margin-right: 10px;

            .all_answers {
                height: 50px;
                line-height: 50px;
                text-align: center;
                font-size: 15px;
                color: #8590a6;
                background-color: #fff;
                cursor: pointer;
                margin-top: 10px;

                &:hover {
                    color: #175199;
                }
            }

            .content {
                position: relative;
                width: 100%;
                padding: 16px 20px;
                margin-top: 10px;
                background-color: #fff;

                .content_user {
                    width: 100%;
                    height: 40px;

                    .content_author_photo {
                        width: 40px;
                        margin-right: 15px;

                        img {
                            width: 100%;
                            vertical-align: middle;
                        }
                    }

                    .content_introduce {
                        .nickname {
                            font-size: 15px;
                            color: #444444;
                            font-weight: 700;
                        }

                        .recommend {
                            font-size: 14px;
                            color: #646464;
                        }
                    }
                }

                .like_people {
                    margin-top: 10px;
                    color: #8590a6;
                    font-size: 14px;
                }

                .content_text {
                    font-size: 15px;
                    color: #121212;
                    line-height: 24px;
                }

                .release_time {
                    margin-top: 10px;
                    color: #8590a6;
                    font-size: 14px;
                }

                .mask {
                    display: none;
                    position: absolute;
                    bottom: 50px;
                    width: 654px;
                    height: 80px;
                    text-align: center;
                    line-height: 100px;
                    color: #8590a6;
                    font-size: 15px;
                    font-family: 'icomoon';
                    background: linear-gradient(180deg, rgba(255, 255, 255, .5), #fff);
                    cursor: pointer;

                    &:hover {
                        color: #175199;
                    }
                }

                .user_actions {
                    position: absolute;
                    width: 654px;
                    height: 50px;
                    bottom: 0;
                    padding: 10px 0;
                    background-color: #fff;

                    div {
                        cursor: pointer;
                    }

                    .user_agreement {
                        line-height: 34px;
                        text-align: center;
                        font-size: 14px;

                        .user_agree {
                            border-radius: 3px;
                            display: inline-block;
                            height: 34px;
                            padding: 0 10px;
                            color: #06f;
                            background-color: rgba(0, 102, 255, .1);

                            &::before {
                                font-family: 'icomoon';
                                content: '\f0d8';
                                margin-right: 5px;
                            }
                        }

                        .user_disagree {
                            border-radius: 3px;
                            display: inline-block;
                            height: 34px;
                            width: 34px;
                            background-color: rgba(0, 102, 255, .1);
                            color: #06f;
                            font-family: 'icomoon';
                        }
                    }

                    .answerer_review {
                        &::before {
                            font-family: 'icomoon';
                            content: '\e96b';
                            margin-right: 5px;
                        }
                    }

                    .user_share {
                        position: relative;

                        &::before {
                            font-family: 'icomoon';
                            content: '\f1d8';
                            margin-right: 5px;
                        }

                        .share_links {
                            display: none;
                            position: absolute;
                            top: 40px;
                            left: -35px;
                            width: 134px;
                            padding-top: 5px;
                            background-color: #fff;
                            z-index: 5;
                            box-shadow: 0 0 5px 1px #ebebeb;
                            text-align: left;

                            div {
                                padding: 0 20px;
                                height: 40px;
                                font-family: 'icomoon';

                                span {
                                    margin-right: 5px;
                                }

                                &:nth-child(1),
                                &:nth-child(2) {
                                    &:hover {
                                        background-color: #f6f6f6;
                                    }
                                }

                                &:nth-child(4) {
                                    height: 110px;
                                    padding-bottom: 16px;

                                    img {
                                        width: 94px;
                                        height: 94px;
                                        padding: 0;
                                    }
                                }
                            }
                        }
                    }

                    .user_collect {
                        &::before {
                            font-family: 'icomoon';
                            content: '\e90b';
                            margin-right: 5px;
                        }
                    }

                    .user_like {
                        &::before {
                            font-family: 'icomoon';
                            content: '\e909';
                            margin-right: 5px;
                        }
                    }

                    .pick_up1 {
                        display: none;
                        font-family: 'icomoon';
                    }

                    &>div {
                        &:nth-child(n+2) {
                            height: 34px;
                            line-height: 34px;
                            text-align: center;
                            margin-left: 24px;
                            color: #8590a6;
                            font-size: 14px;
                        }
                    }
                }
            }
        }

        .aside {
            width: 296px;
            margin-top: 10px;

            .answer_author {
                height: 274px;
                background-color: #fff;

                .about_author {
                    height: 50px;
                    padding: 0 20px;
                    line-height: 50px;
                    font-size: 15px;
                    color: #121212;
                    font-weight: 700;
                    border-bottom: 1px solid #f6f6f6;
                }

                .answer_author_user {
                    padding: 16px 20px;
                    border-bottom: 1px solid #f6f6f6;

                    .answer_author_photo {
                        width: 60px;
                        height: 60px;
                        cursor: pointer;

                        img {
                            width: 100%;
                            vertical-align: bottom;
                        }
                    }

                    .answer_author_introduce {
                        margin-left: 12px;
                        display: flex;
                        height: 60px;
                        flex-direction: column;
                        justify-content: space-around;

                        .answer_author_nickname {
                            font-size: 20px;
                            font-weight: 700;
                            cursor: pointer;
                        }

                        .answer_author_recommend {
                            font-size: 14px;
                            cursor: pointer;
                        }
                    }
                }

                .answer_author_content {
                    padding: 16px 20px;

                    .answer_author_counts {
                        display: flex;

                        div {
                            flex: 1;
                            height: 50px;
                            display: flex;
                            flex-direction: column;
                            text-align: center;

                            &:hover {
                                color: rgb(23, 81, 153);
                            }

                            span {
                                flex: 1;
                                line-height: 25px;
                                cursor: pointer;

                                &:nth-child(1) {
                                    color: #8590a6;
                                    font-size: 14px;
                                }

                                &:nth-child(2) {
                                    font-size: 18px;
                                    font-weight: 700;
                                }

                            }
                        }
                    }

                    .answer_author_button {
                        margin-top: 16px;
                        display: flex;
                        justify-content: space-between;

                        button {
                            width: 120px;
                            height: 34px;
                            font-size: 14px;
                            font-family: 'icomoon';

                            &:nth-child(1) {
                                color: #fff;
                                background-color: #06f;
                                border: 1px solid #06f;

                                &:hover {
                                    border-color: #005ce6;
                                    background-color: #005ce6;
                                }
                            }

                            &:nth-child(2) {
                                color: #8590a6;
                                border: 1px solid #8590a6;
                                background-color: #fff;

                                &:hover {
                                    background-color: rgba(133, 144, 166, .06);
                                }
                            }
                        }
                    }
                }
            }

            .about_question {
                margin-top: 10px;
                background-color: #fff;

                .about_question_title {
                    height: 50px;
                    padding: 0 20px;
                    font-size: 15px;
                    font-weight: 700;
                    line-height: 50px;
                    color: #121212;
                    border-bottom: 1px solid #f6f6f6;
                }

                .about_question_links {
                    padding: 16px 20px;

                    .about_question_link {
                        margin-top: 10px;

                        &:nth-child(1) {
                            margin-top: 0;
                        }

                        a {
                            font-size: 14px;
                            color: #175199;

                            &:hover {
                                text-decoration: underline;
                            }
                        }

                        span {
                            font-size: 14px;
                            color: #8590a6;
                        }
                    }
                }
            }

            .about_recommend {
                width: 296px;
                margin-top: 10px;
                background-color: #fff;

                .about_recommend_title {
                    padding: 0 20px;
                    height: 50px;
                    line-height: 50px;
                    font-size: 15px;
                    font-weight: 700;
                    color: #121212;
                    border-bottom: 1px solid #f6f6f6;
                }

                .about_recommend_items {
                    padding: 16px 20px;

                    .about_recommend_item {
                        display: flex;
                        padding: 16px 0;
                        border-bottom: 1px solid rgb(211, 211, 211);

                        .about_recommend_img {
                            width: 80px;
                            height: 64px;
                            margin-right: 8px;

                            img {
                                width: 80px;
                                height: 64px;

                            }
                        }

                        .about_recommend_introduce {
                            h1 {
                                font-size: 14px;
                                color: #121212;
                            }

                            span {
                                font-family: 'icomoon';
                                color: rgb(255, 251, 0);
                            }
                        }

                        &:first-child {
                            padding-top: 0;
                        }

                        &:last-child {
                            padding-bottom: 0;
                            border-bottom: 0;
                        }
                    }
                }
            }

            .footer {
                width: 296px;
                margin-top: 10px;
                line-height: 25px;

                ul {
                    padding-left: 5px;

                    li {
                        display: inline-block;
                        color: #8590a6;

                        a {
                            color: #8590a6;
                            font-size: 13px;

                            &:hover {
                                color: #175199;
                            }
                        }

                        img {
                            width: 20px;
                            height: 20px;
                            vertical-align: middle;
                        }
                    }
                }
            }
        }
    }

    .page_mask {
        display: none;
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(18, 18, 18, .65);
        z-index: 2;

        .invite_answer_contain {
            display: flex;
            width: 100%;
            height: 100%;
            justify-content: center;
            align-items: center;

            .invite_answer_content {
                width: 40%;
                height: 80%;
                background-color: #fff;

                .invite_page {
                    height: 100%;
                    display: flex;
                    flex-direction: column;

                    .invite_page_title {
                        height: 51px;
                        padding: 0 20px;
                        border-bottom: 1px solid #ebebeb;

                        h3 {
                            line-height: 51px;
                            font-size: 16px;
                            color: #121212;
                            font-weight: 700;
                        }

                        .invite_page_search {
                            margin: 8px 0;
                            height: 34px;
                            width: 180px;
                            border: 1px solid #ebebeb;

                            input {
                                width: 139px;
                                height: 100%;
                                padding-left: 10px;
                            }

                            button {
                                width: 39px;
                                height: 100%;
                                font-family: 'icomoon';
                                background-color: #fff;
                            }

                        }
                    }

                    ul {
                        flex: 1 1;
                        overflow: scroll;

                        li {
                            margin: 0 24px;
                            padding: 12px 0;
                            border-bottom: 1px solid #ebebeb;

                            .invite_page_photo {
                                width: 38px;
                                height: 38px;

                                img {
                                    width: 100%;
                                }
                            }

                            .invite_page_introduce {
                                display: flex;
                                flex-direction: column;
                                margin-left: 10px;

                                span {
                                    flex: 1;

                                    &:nth-child(1) {
                                        font-size: 15px;
                                        color: #121212;
                                    }

                                    &:nth-child(2) {
                                        font-size: 14px;
                                        color: #8590a6;
                                    }
                                }
                            }

                            button {
                                width: 80px;
                                height: 32px;
                                border: 1px solid #06f;
                                border-radius: 3px;
                                color: #06f;
                                background-color: #fff;
                            }
                        }
                    }
                }
            }
        }
    }
}